package main

import (
	"fmt"
	"time"
)

func testTimer(){
	timer1:= time.NewTimer(time.Second * 5)

	<-timer1.C
	fmt.Println("Timer 1 expired")
	timer2:=time.NewTimer(time.Second)
	go func() {
		<-timer2.C
		fmt.Println("Timer 1 expired")
	}()
	stop2:= timer2.Stop()
	if stop2 {
		fmt.Println("tIMER 2 STOPPED")
	}
}
